package com.cenxi.common.convert;

import com.cenxi.common.dto.req.RoleReqDTO;
import com.cenxi.common.dto.resp.RoleRespDTO;
import com.cenxi.dao.domain.Role;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface RoleDTOTORoleEntity extends BaseDTOMapStruct<RoleRespDTO, Role> {
    RoleDTOTORoleEntity INSTANCE = Mappers.getMapper(RoleDTOTORoleEntity.class);

    Role roleReqTORole (RoleReqDTO req);
}
